<template>
  <div>我的动态</div>
</template>
<script setup lang="ts">
import { getUserEvent } from "@/assets/apis/http"
import { useRoute } from 'vue-router'
const route = useRoute()
const userId = route.query.id?.toString() || ''

async function getSongs() {
  let res = await getUserEvent({ uid: userId, limit: 30 });
  console.log("查询动态", res);
}
getSongs()
</script>
<style scoped lang="scss">

</style>
